package com.hushan.elevator.model;

import jakarta.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @Author: zzy
 * @Date: 2024/10/22 22:08
 * @Title:
 * @Version:
 * @Package: com.hushan.elevator.model
 */

@Entity
@Data
@Table(name = "auth_user_role")
@AllArgsConstructor
@NoArgsConstructor
public class UserRole {

    @EmbeddedId
    private UserRolePK userRolePK;
    @Column(name = "created_by")
    private int createdBy;
    @Column(name = "created_time")
    private LocalDateTime createdTime;

    @Column(name = "updated_time")
    private LocalDateTime updatedTime;

}